package bean;

public class NodeDiff {
    private int x1;
    private int x2;
    private int y1;
    private int y2;
    private double magX;
    private double magY;
    private double magZ;

    public NodeDiff() {
        super();
    }

    public NodeDiff(int x1, int x2, int y1, int y2, double magX, double magY, double magZ) {
        super();
        this.x1 = x1;
        this.x2 = x2;
        this.y1 = y1;
        this.y2 = y2;
        this.magX = magX;
        this.magY = magY;
        this.magZ = magZ;
    }

    public int getX1() {
        return x1;
    }

    public void setX1(int x1) {
        this.x1 = x1;
    }

    public int getX2() {
        return x2;
    }

    public void setX2(int x2) {
        this.x2 = x2;
    }

    public int getY1() {
        return y1;
    }

    public void setY1(int y1) {
        this.y1 = y1;
    }

    public int getY2() {
        return y2;
    }

    public void setY2(int y2) {
        this.y2 = y2;
    }

    public double getMagX() {
        return magX;
    }

    public void setMagX(double magX) {
        this.magX = magX;
    }

    public double getMagY() {
        return magY;
    }

    public void setMagY(double magY) {
        this.magY = magY;
    }

    public double getMagZ() {
        return magZ;
    }

    public void setMagZ(double magZ) {
        this.magZ = magZ;
    }

    @Override
    public String toString() {
        return "bean.NodeDiff{" +
                "x1=" + x1 +
                ", x2=" + x2 +
                ", y1=" + y1 +
                ", y2=" + y2 +
                ", magX=" + magX +
                ", magY=" + magY +
                ", magZ=" + magZ +
                '}';
    }
}
